//
//  KLPaymentManager.h
//  Meboo
//
//  Created by kyo on 2023/12/28.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface KLPaymentManager : NSObject
@property(nonatomic,copy) NSString *productID;
//聊天过程中，需要传
@property(nonatomic,copy) NSString *modelUserCode;
//type
@property(nonatomic,assign) NSInteger type;
/**
 payState:是否支付成功（包括验单）
 isReload:是否刷新数据成功
 */
@property (nonatomic , copy) void (^payBlock)(BOOL payState);
//@property (nonatomic , copy) void (^payBlock)(BOOL payState,BOOL isReload);
+ (instancetype)sharePaymentManager;

- (void)restorePurchaase;

- (void)payWithProductID:(NSString *)productID;
//掉单重试---在程序入口处理
- (void)reVerifyReceiptData;

@end

NS_ASSUME_NONNULL_END
